package work5;

import Uti.ScannerUti;
import work5.CourseManagement.CourseManage;
import work5.Grades.GradesManage;
import work5.StudentInfManagement.StudentInfManage;

public class Works5 {
    Works5() {
        Work();
    }

    public static void Work() {
        while (true) {
            System.out.println("成绩管理");
            System.out.println("-------------------------");
            System.out.println("1————学生信息管理");
            System.out.println("2————课程信息管理");
            System.out.println("3————成绩管理");
            System.out.println("0————退出");
            int kk = ScannerUti.getInt();
            if (kk == 1) {
                new StudentInfManage();
            } else if (kk == 0) {
                break;
            } else if (kk == 2) {
                new CourseManage();
            } else if (kk == 3) {
                new GradesManage();
            }
        }

    }
}
